package chapter.compare;


/**
 * description: 定义Student 学生类
 * @version v1.0
 * @author w
 * @date 2019年10月31日下午10:10:34
 **/

public class Student {
	
	private String name ; // 姓名
	private int age ; // 年龄
	private double score ; // 分数

	public Student(String name, int age, double score) {
		super();
		this.name = name;
		this.age = age;
		this.score = score;
	}

	public Student() {
		super();
	}

	@Override
	public String toString() {
		return "Student [name=" + name + ", age=" + age + ", score=" + score + "]";
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

	

}
